
//
//  DoctorLabel.m
//  QuickCure37
//
//  Created by 马文星 on 16/6/19.
//  Copyright © 2016年 Demos. All rights reserved.
//

#import "DoctorLabel.h"

@implementation DoctorLabel

- (instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        [self setupUI];
    }
    return self;
}

-(void)setupUI{
    
    CGFloat fontSize = 14;

    if (kDevice_Is_iPhone5) {
        
         fontSize = 13;
    }else if (kDevice_Is_iPhone6){
    
        fontSize = 15;
    
    }else if (kDevice_Is_iPhone6Plus){
    
       fontSize = 16;
    }
    
    self.font = FONT(fontSize);
//    self.backgroundColor = RANDOMCOLOR;
}

@end
